body {
    background-color: white;
    color: black;
    margin: 0;
    padding: 0;
    font: normal 10pt/12pt Ubuntu, sans-serif;

}
h1 {
font-size: ''; margin: ''; padding: '';
}
#header {
    color: black;
    display: block;
    background-color: #f3f3f3;
    height: 50px;
    border-bottom: solid 1px #dddddd;
    margin-bottom: 8px;
    font-size: 12px;
}
#header h1 {
    font: bold 25px/25px;
    margin: 0px;
    padding: 30px 0 0 10px;
    font-size: 20px;
}



#header a, #header a:visited {
    color: rgb(36, 88, 135); 
    text-decoration: none;
}
a, a:visited {
    color: rgb(36, 88, 135);
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}
/*#header a:link, #header a:visited {
    color: black;
}
#header a:link, #header a:visited {
    color: black;
}
*/
/*   
   Images.
 */
img {
    border: none;
}
img[align="left"] {
    float: left;
    margin: 0 .5em .25em 0;
}
img[align="right"] {
    float: right;
    margin: 0 0 .25em .5em;
}

#menu {
    margin: 0;
    padding: 0;
    position: absolute;
    top: 29px;
    left: 180px;
    line-height: 12px;
    list-style-type: none;
}
#menu a:visited: {
color: rgb(36, 88, 135);
}
#menu > li, #menu ul li {
    display: block;
    margin: 0px 4px 0 0;
    padding: 4px 8px;
    float: left;
    height: 12px;
    border-bottom: solid 1px #f3f3f3;
    color: #0645ad;
    position: relative;
    font-size: 12px;
}
body#blog_index_html #menu #nav_blog,
body.blog #menu #nav_blog,
body#about_index_html #menu #nav_faq,
body#player_html #menu #nav_air,
body#programs_tsn_index_html #menu #nav_tsn,
body.tsn #menu #nav_tsn,

#menu li.active {
    background-color: white;
    border: solid 1px #dddddd;
    border-bottom: solid white 1px;
    padding: 3px 7px 5px;
}

/* messages & errors */

ul.messagelist {
    padding: 0 0 5px 0;
    margin: 0;
}

ul.messagelist li {
    font-size: 12px;
    display: block;
    padding: 4px 5px 4px 25px;
    margin: 0 0 3px 0;
    border-bottom: 1px solid #ddd;
    color: #666;
    background: #ffc;
}

ul.messagelist li.warning{
    background-image: url(/media/img/admin/icon_alert.gif);
}

ul.messagelist li.error{
    background-image: url(/media/img/admin/icon_error.gif);
}

.errornote {
    font-size: 12px !important;
    display: block;
    padding: 4px 5px 4px 25px;
    margin: 0 0 3px 0;
    border: 1px solid red;
    color: red;
    background: #ffc url(../img/admin/icon_error.gif) 5px .3em no-repeat;
}

ul.errorlist {
    margin: 0 !important;
    padding: 0 !important;
}

ul.errorlist li, .errorlist li {
    font-size: 12px !important;
    display: block;
    padding: 4px 5px 4px 25px;
    margin: 0 0 3px 0;
    border: 1px solid red;
    color: white;
    background: red;
}

.errorlist li a {
 	color: white;
    text-decoration: underline;
}

td ul.errorlist {
    margin: 0 !important;
    padding: 0 !important;
}

td ul.errorlist li {
    margin: 0 !important;
}

.errors {
    background: #ffc;
}

.errors input, .errors select, .errors textarea {
    border: 1px solid red;
}

div.system-message {
    background: #ffc;
    margin: 10px;
    padding: 6px 8px;
    font-size: .8em;
}

div.system-message p.system-message-title {
    padding: 4px 5px 4px 25px;
    margin: 0;
    color: red;
    background: #ffc;
}

.description {
    font-size: 12px;
    padding: 5px 0 0 12px;
}


/**
 * Submenus.
 */
.submenu {
    display: none;
    list-style-type: none;
    margin: 0 0 0 0px;
    padding: 2px 8px 2px 4px;
    background-color: #f3f3f3;
    border-left: solid 1px #ddd;
    border-bottom: solid 1px #ddd;
    border-right: solid 1px #ddd;
    position: absolute;
    top: 21px;
}
li:hover .submenu {
    display: block;
}
.submenu li {
    height: 1.5em;
    line-height: 1.5em;
    white-space: nowrap;
}
.submenu li.sep {
    border-top: solid 1px #ddd;
    margin-top: .5em;
    padding-top: .5em;
}


#cinfo {
    position: absolute;
    top: 4px;
    left: 100%;
    width: 300px;
    height: 28px;
    margin-left: -310px;
    text-align: right;
    padding-top: 2px;
    float: left;
}
#cinfo p {
    margin: 4px;
    padding: 0;
    font-size: 12px;
    line-height: 14px;
}


#content {
    margin: 0 240px 20px 10px;
}
#content h1,
#content #inner h2 {
    font: normal 16pt/20pt Ubuntu, sans-serif;
}
#content #inner h2 {
    margin: 2em 0 .5em;
}
#content #inner small a {
    font-size: 8pt;
    color: green;
    margin-left: 1em;
}


#sidebar {
    position: absolute;
    top: 60px;
    left: 100%;
    width: 200px;
    margin-left: -210px;
    padding-bottom: 10px;
}
#sidebar > div {
    margin-bottom: 1em;
}
#sidebar img {
    max-width: 200px;
}
#sidebar .ueb a {
    color: #ddd;
}
#sidebar .ueb a:hover {
    color: #0645ad;
}
#sidebar iframe.twitter {
    width: 200px;
    height: 400px;
    border: solid 1px #ccc;
}
#sidebar iframe.np {
    width: 197px;
    height: 60px;
    border: 1px solid #ddd;
    border-radius: 7px;
}

table.skel {
    border-collapse: collapse;
}
table.skel td {
    border: solid 1px #dddddd;
    padding: 2px 8px 2px 2px;
}
table#yamoney td:nth-child(2) {
    text-align: right;
}
table.content_columns {
    vertical-align: top;
}
td.left_column {
    width: 280px;
    vertical-align: top;
}
td.middle_column {
    width: 100%;
    vertical-align: top;
}
.pagemeta {
    font-size: 8pt;
    color: gray;
    text-transform: lowercase;
    margin: 0 0 1em;
}
.pagemeta a {
    color: inherit;
}


/*iframe {
  border: solid 1px #ddd;
}
*/

.rembeddit {
    width: 300px;
    float: right;
    margin: 0 0 0 1em;
}
.reddit-header {
    display: none;
}



/**
 * Уведомления в шапке сайта.
 */
#msg {
    border: solid 1px #40c040;
    background-color: #C0FFC0;
    margin: 1em 0;
}
#msg p {
    margin: 0;
    padding: 2px 4px;
    text-align: center;
    font-style: italic;
}


/**
 * Таблица с каналами связи.
 */

table.nav { border-collapse: collapse; height: 24px; line-height: 24px }
.nav td { padding: 0; background: transparent url(/images/buttons/button-bg.png) repeat-x top left }
.nav img { margin: 0 }


/**
 * Code blocks.
 */
pre, code {
    background-color: #f3f3f3;
    border: solid 1px #ddd;
    padding: .5em;
    float: none;
    overflow: auto;
    max-height: 300px;
}
pre br, code br {
    line-height: 0; padding: 0; margin: 0; display: none;
}

/**
 * Forms.
 */
.text {
    width: 400px;
    border: solid 1px #ddd;
    padding: 4px 4px;
    display: block;
    margin: .5em 0;
}
textarea.text {
    height: 100px;
}
input {
    font: inherit;
}
.avatar_small {
    width: 32px;
    height: 32px;
    margin: 5px;
    background: url("/images/ajax-loader1.gif");
    background-repeat:no-repeat;
}
.avatar_medium {
    width: 48px;
    height: 48px;
    margin: 5px;
    background: url("/images/ajax-loader1.gif");
    background-repeat:no-repeat;
}
.avatar_medium2 {
    width: 64px;
    height: 64px;
    margin: 5px;
    background: url("/images/ajax-loader1.gif");
    background-repeat:no-repeat;
}
.empty {
    background: silver url('');
}
.al_right {
    float: right;
}
.al_left {
    float: left;
}
.item_info, .item_info a {
    color: gray;
}
#loginza_iframe {
    margin: 0 auto;
}
.posts_container {
    width: 600px;
}
.text_container {
    /*width: 900px;*/
}
.unblog_post {
    float: none;
    margin-top: 2px;
    padding: 4px;
    /*border: 1px solid #dddddd;*/
    display: block;
    overflow: hidden;
    border-bottom: 1px solid #dddddd;
}
.unblog_textcopy {
    display: none;
}
.unblog_info {
    height: 20px;
}
.unblog_text {
    text-align: justify;
    float: none;
    display: block;
}
.unblog_text i {
    color: gray;
}
.item_delete {
    float: right;
    margin-left: 10px;
    margin-right: 10px;
}
.item_edit {
    float: right;
    margin-left: 10px;
    margin-right: 10px;
}
.item_save {
    float: right;
    margin-left: 10px;
    margin-right: 10px;
}
.topic_list_container {
    display: inline;
}
.topic_list {
    list-style-type: none;
    margin: 0 5px 0 5px;
    padding: 0px;
    float: left;
}

.topic_list h2{
    height: 20px;
    padding: 0px;
    margin-top: 10px;
    margin-bottom: 0px;
    width: 280px;
    font-weight: bolder;
    font-size: 16px;
    padding: 4px;
}
.topic_list h2:hover{
    background: #f3f3f3;
}
.topic_list a{
    text-decoration: none;
    color: black;
}
.topic_list div {
    /*border-top: 1px solid #DDDDDD;*/
    width: 280px;
    margin-left: 10px;
}

#chatbox {
    float: none;
}
.vote_container {
    width: 800px;
    height: 80px;
    float: none;
}
.vote_button {
    width: 200px;
    height: 34px;
    text-align: center;
    font-size: 18px;
    margin: 10px;
    float: left;
    padding-top: 15px;
    color: white;
}
.vote_button.green {
    background: green;
}
.vote_button.green:hover {
    background: #5A5;
}
.vote_button.red {
    background: red;
}
.vote_button.red:hover {
    background: #F55;
}
.vote_button.green.blocked, .vote_button.red.blocked {
    background: #dddddd;
}
.vote_result {
    font-size: 20px;
    font-weight: bolder;
    color: red;
    padding-top: 25px;
}
#timerBanner {
    border: solid 1px #419fb8; width: 194px; height: 29px;
    color: #419fb8;
	font-family: ubuntu, sans-serif;
	font-size: 13px;
	font-style: normal;
	text-align: center;
	padding: 3px;
}
#chatMsg {
    width: 480px;
}
.pagination {
    text-align: center;
}
/** 
/* Messages styles
*

ul.messages {
    list-style: none;
    padding: 3px 10px 3px 10px;
    list-style: none;
}
ul.messages li {
    background: Orange;
    padding: 3px 10px 3px 10px;
}
ul.messages li.error {
    background: red;
    color: yellow;
}
ul.messages li.success {
     background: GreenYellow;
}
 ul.messages li.info {
     background: lightGreen;
}
*/

#flush_messages {
    padding: 3px 10px 3px 10px;
    background: Orange;
}